package org.example.batchutils.datasource;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "datasource_def")
public class DataSourceConfig {
    @Id
    private Long id;
    private String pollName;
    private String url;
    private String username;
    private String password;
    private String driverClassName;
    private String status;
    private Integer validFlag;
}
